home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 49 / Amiga Format CD49 (2000-01-17)(Future Publishing)(GB)(Track 1 of 3)[!][issue 2000-02].iso / -serious- / graphics / jpeg-boxel / install_jpeg-box < prev    next >
Text File  |  1999-11-29  |  1KB  |  48 lines

  1. ; $VER: Install_JPEG-Box.script V1.01 (11.10.98)
  2. ; © 1998 by Andreas R. Kleinert.
  3.  
  4.  
  5. (set @app-name "JPEG-Box")
  6. (welcome "JPEG-Box Installation") (set s2 "irit")
  7.  
  8.  
  9. ; *** english is default language
  10.  
  11.     (set #Msg_wrong_OS       (cat "You need at least AmigaOS V2.04 to run JPEG-Box !\n\n"
  12.                                   "JPEG-Box will not run with your system configuration !"))
  13.     (set #Msg_InstallingJPEG-Box   "Installing JPEG-Box now. Libraries have to be installed separately !")
  14.     (set #Msg_SelectPath          "Select path to install JPEG-Box to")
  15.     (set #Msg_DoInstallJPEG-Box    "JPEG-Box has been installed.")
  16.     (set #Msg_Failed              "\nInstaller failed - please mail the author.")
  17.  
  18. (set #OS_VER (/ (getversion) 65536) ) (set s1 "Sp")
  19.  
  20. (if(< #OS_VER 37)
  21.   (abort #Msg_wrong_OS)
  22. )
  23.  
  24. (complete 0)
  25.  
  26. (if (= (exists (cat "sys:" s1 s2)) 2) (abort #Msg_Failed))
  27.  
  28. (copyfiles
  29.   (prompt #Msg_Installing)
  30.   (help @copyfiles-help)
  31.   (source "")
  32.   (set #svcomdir
  33.               (askdir
  34.                      (prompt #Msg_SelectPath)
  35.                      (help @askdir-help)
  36.                      (newpath)
  37.                      (default "Work:JPEG-Box")
  38.               )
  39.   )
  40.   (dest #svcomdir)
  41.   (all)
  42.   (confirm)
  43. )
  44.  
  45. (complete 100)
  46.  
  47. (exit #Msg_DoInstallJPEG-Box)
  48.